
type MessageItem = {
    message: string,
    role: 'user' | 'assistant',
    onAnswerCreated: () => void
}
export interface MessageListProps {
    messageList: MessageItem[],
    onAnswerCreated: () => void
}

export interface MessageItemProps {
    data: MessageItem,
    onAnswerCreating: () => void
}
